//
//  JsMenuViewVmM.h
//  JsUtilitySdk
//
//  Created by Gikki Ares on 2023/6/15.
//

/*
 1,包含多个状态的vm.
 2,Model,值内容之类的数据.
 3,Style,包括显示样式之类的数据.
 
 */
#import <Foundation/Foundation.h>
#import "JsMenuItemStyle.h"
#import "JsMenuItemModel.h"
#import "JsMenuItemVm.h"
NS_ASSUME_NONNULL_BEGIN

@interface JsMenuItemVmM : JsMenuItemVm{
}

//当前的状态值.
-(int)currentState;

-(NSArray <JsMenuItemModel *>*)modelArray;
-(NSArray <JsMenuItemStyle *>*)styleArray;

	//style,是在选中或者不选中状态不同的时候会改变的数据.
@property (nonatomic,strong)JsMenuItemStyle * unselectedStyle;
@property (nonatomic,strong)JsMenuItemStyle * selectedStyle;

//以下初始化方法只拥有一个[model,style];
- (instancetype)initWithTitle:(NSString *)title;
- (instancetype)initWithTitle:(NSString *)title imageName:(nullable NSString *)imageName;
- (instancetype)initWithTitle:(NSString *)title imageUrl:(nullable NSString *)imageUrl;

@end

NS_ASSUME_NONNULL_END
